    <div class="space67left"></div>
    <div class="page">
        <div class="page_title"><? echo $this->content->getContent('title'); ?></div>
        <div class="page_subtitle"><? echo $this->content->getContent('subtitle'); ?></div>
    	<div class="leftTextBox455">
			<div class="page_text"><? echo $this->content->getContent('content'); ?></div>
		</div>


    	<div class="space67right"></div>


	    	<div class="rightLinkBox211 noBorder">
	    		<div class="catalog_title"><?php echo $this->translate('lumexpress_catalogue'); ?></div>
	    		<div class="rightLinkBox211 noborder">
					<?php echo $this->action('index', 'block', 'default', array('position'=>'right')); ?>
				</div>
			</div>
		<div class="clear"></div>
		<div style="height:20px;"></div>

<? foreach ($this->categories as $category)
  {
  	$path = Zend_Registry::get("config")->path->products.$category['name'].DS;
  	?>
  <div class="productSection" id="section_<? echo $category['id']; ?>">
  	<div class="section_title"><? echo $category['name']; ?></div>
  	<div class="productSectionSep">
  	<img src="/img/bg/graydot.gif" style="width:100%;height:1px">
  	</div>
  </div>

       <? foreach ($this->products[$category['id']] as $product)
          {
		  	$dir_name = strlen($product['alias'])>0?$product['alias']:$product['title'];
			$files = new App_Content_ProductDirectory($path.$dir_name, array(70=>array()));
			$img = $files->getMAIN('70');
			$pdf = $files->getPDF();
			$pdfimg = $pdf.".jpg";
          ?>
        <div class="clear"></div>

    	<div class="space67right"></div>
    	<div class="rightLinkBox211 noBorder">

			<table class="rightLinkBox211Table rightLinkBox211TableProduct" cellpadding="0" cellspacing="0">
				<tr>
					<td class="rightLinkBox211Cell rightLinkBox211CellImage"><?php if($pdf): ?><a href="<?php echo $pdf; ?>" target="_blank"><img border="0" src="<?php echo $pdfimg;  ?>"></a><?php else: ?><img width="60" height="80" src="/img/blank.gif"><?php endif; ?></td>

					<td align="right" valign="bottom">
						<table class="rightLinkBox211Link"><tr><td align="center" style="text-align:center;"><a target="_blank" href="<? echo $product['deep_link_address']; ?>"><?php echo $this->translate('ecatalogue'); ?></a>&nbsp;<img border="0" src="/img/li_gray.gif"/></td></tr></table>
					</td>
				</tr>
			</table>

		</div>
    	<div class="leftTextBox455">
			<table class="leftTextBox455Table" cellspacing="0" cellpadding="0">
				<tr>
					<td valign="top" class="leftTextBox455Image"><img style="width:70px;height:70px;" src="<? echo $img; ?>"></td>
					<td style="width:15px;">&nbsp;</td>
					<td valign="top">
						<div class="leftTextBox455Info">
							<div class="product_title"><? echo $product['title']; ?></div>
							<div class="product_subtitle"><? echo $product['subtitle']; ?></div>
							<div class="product_text"><? echo $product['content']; ?></div>
						</div>
					</td>
				</tr>
			</table>
		</div>
		<div class="clear"></div>
		<div style="margin-top:5px;"></div>
		<div class="productSectionSep"><img src="/img/bg/graydot.gif" style="width:100%;height:1px"></div>
		<div style="margin-top:10px;"></div>
       <? } ?>

<? } ?>

    </div>
